<script setup>
  import { useCounterStore } from '@/store/counter'
  const counterStore = useCounterStore()
</script>

<template>
  <div>
    我是Son1 - 0 - {{ counterStore.count }} - {{ counterStore.double }}<button @click="counterStore.addCount">+</button>
  </div>
</template>

<style scoped></style>
